package com.ruoyi.project.channel.businessCashChange.service;

import com.ruoyi.project.channel.businessCashChange.domain.BusinessCashChange;

import java.math.BigDecimal;
import java.util.List;

/**
 * 资金变动 服务层
 * 
 * @author zero
 * @date 2019-05-18
 */
public interface IBusinessCashChangeService 
{
	/**
     * 查询资金变动信息
     * 
     * @param cashId 资金变动ID
     * @return 资金变动信息
     */
	public BusinessCashChange selectBusinessCashChangeById(Long cashId);
	
	/**
     * 查询资金变动列表
     * 
     * @param businessCashChange 资金变动信息
     * @return 资金变动集合
     */
	public List<BusinessCashChange> selectBusinessCashChangeList(BusinessCashChange businessCashChange);
	
	/**
     * 新增资金变动
     * 
     * @param businessCashChange 资金变动信息
     * @return 结果
     */
	public int insertBusinessCashChange(BusinessCashChange businessCashChange);

	/**
	 *
	 * @param amout
	 * @param businessId
	 * @param opType
	 * @param remark
	 * @return
	 */
	public int insertBusinessCashChange(BigDecimal amout, Long businessId, String opType, String remark);
	/**
     * 修改资金变动
     * 
     * @param businessCashChange 资金变动信息
     * @return 结果
     */
	public int updateBusinessCashChange(BusinessCashChange businessCashChange);
		
	/**
     * 删除资金变动信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteBusinessCashChangeByIds(String ids);
	
}
